package com.itheima.health.vo;

import java.util.Date;

/**
 * 预约订单提交参数封装
 *
 * @author liuqi
 * @Date 2023/11/20
 */
public class OrderVO {
    private Integer setmealId;//体检套餐id
    private String sex;//性别
    private Date orderDate;//预约日期
    private String name;//预约姓名
    private String telephone;//订单验证手机号
    private String validateCode;//登录录入验证码
    private String idCard;//身份证号

    public OrderVO() {
    }

    public OrderVO(Integer setmealId, String sex, Date orderDate, String name, String telephone, String validateCode, String idCard) {
        this.setmealId = setmealId;
        this.sex = sex;
        this.orderDate = orderDate;
        this.name = name;
        this.telephone = telephone;
        this.validateCode = validateCode;
        this.idCard = idCard;
    }

    public Integer getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(Integer setmealId) {
        this.setmealId = setmealId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    @Override
    public String toString() {
        return "OrderVO{" +
                "setmealId=" + setmealId +
                ", sex='" + sex + '\'' +
                ", orderDate=" + orderDate +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", validateCode='" + validateCode + '\'' +
                ", idCard='" + idCard + '\'' +
                '}';
    }
}
